Description: 编译原理课程设计,采用算符优先分析算法,对G[S]所定义的赋值语句进行语法分析,并在语法分析过程中将所输入的扶植语句翻译为四元式。-Compilation Principle curriculum design, the use of operator priority analysis algorithms, the G [S] defined by assignment statements for grammar analysis and parsing process entered foster statements translated into quaternion type. Platform: |
Size: 2048 |
Author:寿帆 |
Hits:
Description: 编译原理的语法分析,分析语法,使用算符优先法,输出语法分析树 -Principles of compiler syntax analysis, syntax, use the operator priority method, the output parsing tree Platform: |
Size: 5120 |
Author:刘佳奇 |
Hits:
Description: 1) 写出符合算符优先法的文法及属性文法。
2) 完成题目要求的中间代码三地址表示的描述。
3) 写出算符优先法的思想,完成语法分析和语义分析程序设计。
4) 编制好分析程序后,设计若干用例,上机测试并通过所设计的分析程序。
-1) to write the law in line with the priority operator grammar and attribute grammar. 2) complete the subject requirements of the three address intermediate code that description. 3) write operator priority law thinking, the completion of parsing and semantic analysis of program design. 4) a good analysis of the preparation process, the design of a number of use cases, the test and through the design of analytical procedures. Platform: |
Size: 317440 |
Author:阿水地 |
Hits:
Description: 采用算符优先分析法,对G[S]所定义的赋值语句进行语法分析,并在语法分析过程中将所输入的赋值语句翻译为四元式。-Priority use of operator analysis of G [S] defined assignment for parsing and grammar analysis of the process entered assignment translated into Quaternion type. Platform: |
Size: 477184 |
Author:徐晓剑 |
Hits:
Description: 对以下文法,采用算符优先分析法,对G[S]所定义的赋值语句进行语法分析,并在语法分析过程中将所输入的赋值语句翻译为四元式。-The following grammar, the use of operator priority analysis of G [S] defined assignment for parsing and grammar analysis of the process entered assignment translated into Quaternion type. Platform: |
Size: 477184 |
Author:佚星 |
Hits:
Description: 解析字符串,按照运算表达式来计算出最终结果值-Parsing a string, in accordance with the operator expression to calculate the final results of the value of Platform: |
Size: 1024 |
Author:dss |
Hits:
Description: 解析字符串,按照运算表达式来计算出最终结果值。-Parsing a string, in accordance with the operator expression to calculate the value of the final results. Platform: |
Size: 1024 |
Author:dss |
Hits:
Description: 包括开发文档和完整的程序。
算符优先语法分析模拟构造器主要包括文法的FirstVT和LastVT集模拟构造,算符优先关系表的构造,算符优先函数表的构造,句子(程序)分析归约过程等几个部分。-Including the development of documents and procedures. Simulation of the priority operator parsing constructor FirstVT mainly grammar and structure LastVT set simulation, operator precedence relations form the structure, function operator priority table structure, the sentence (process) analysis of several parts, such as reduction process. Platform: |
Size: 476160 |
Author:穆鹏 |
Hits:
Description: 用java计算算式,从左到右的顺序
本次实验通过查找运算符,按照次序将其存放在数组当中来进行运算,同时还要对算式进行截取。
在实验中通过变量来控制是核心之一,不变的是算式,只有通过对算式进行解析,用变量来控制和代替算式中的元素,才会实现。
-Using java calculation formula, from left to right order of
This experiment by looking operator, in accordance with the order be stored in an array of them to conduct operations, while also right formula interception.
In the experiment through the variable control is one of the cores is the same formula, only through the right formula parsing, using a variable to control and replace the formula in the element, will be achieved. Platform: |
Size: 1024 |
Author:daliwn |
Hits:
Description: 对表达式进行语义、语法分析,其语法分析使用算符优先分析方法,其逆破兰式的构造在每次语法分析的规约过程中进行,最后利用已经建立好的逆波兰式计算表达式的值。-Pairs of expression semantics, syntax analysis, syntax analysis using the operator the priority of its analysis, the reverse break-lan-style structure in the parsing of the statute of each course with the final use of well-established calculation of expression Reverse Polish Notation value. Platform: |
Size: 40960 |
Author:chenxi |
Hits:
Description: 算符优先分析方法是根据算符之间的优先关系而设计的一种自底向上的语法分析方法。算符优先分析的基本思想是只规定算符之间的优先关系,也就是只考虑终结符之间的优先关系。由于算符优先分析不考虑非终结符之间的优先关系,在归约过程中只要找到可归约串就归约,并不考虑归约到哪个非终结符,因而算符优先归约不是规范归约。-Operator precedence analysis is based on the priority relationship between the operator is designed as a bottom-up parsing methods. The basic idea of operator precedence analysis is provided only to give priority to relations between the operator, that is only considered a priority relationship between the terminator. As the operator does not consider the priority of priorities between nonterminal relationship, in the reduction process of reduction as long as the string could be found on the reduction, which does not consider the reduction to a nonterminal, which reduction is not a standard operator priorities reduction. Platform: |
Size: 51200 |
Author:陈小龙 |
Hits:
Description: 一个算符优先分析器,首先构造优先关系表,然后根据算符优先分析算法编写程序。
-An operator precedence parser, the first priority relational table structure, and then write a program operator precedence parsing algorithm. Platform: |
Size: 46080 |
Author:卜丽娜 |
Hits:
Description: 利用算符优先算法制作的一个表达式计算器,它能够将一个C语言的表达式解析成四元式,然后根据算符优先的规则来计算表达式。-The use of operator precedence algorithm produced an expression calculator, it can be a C language expression parsing into four yuan type, then operator precedence rules to evaluate the expression. Platform: |
Size: 2874368 |
Author:hgp |
Hits:
Description: 算符优先赋值语句语法分析(含有词法),采用算符有先法对输入的赋值语句进行翻译。-Priority assignment operator parsing (with morphology), using the operator with the first method to translate the input assignment. Platform: |
Size: 2048 |
Author:tiger |
Hits: